.class Lde/dealdoktor/app/activities/Settings$3;
.super Ljava/lang/Object;
.source "Settings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lde/dealdoktor/app/activities/Settings;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lde/dealdoktor/app/activities/Settings;


# direct methods
.method constructor <init>(Lde/dealdoktor/app/activities/Settings;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lde/dealdoktor/app/activities/Settings$3;->this$0:Lde/dealdoktor/app/activities/Settings;

    .line 65
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceChange(Landroid/preference/Preference;Ljava/lang/Object;)Z
    .locals 3
    .parameter "preference"
    .parameter "newValue"

    .prologue
    .line 70
    :try_start_0
    iget-object v1, p0, Lde/dealdoktor/app/activities/Settings$3;->this$0:Lde/dealdoktor/app/activities/Settings;

    check-cast p2, Ljava/lang/Boolean;

    .end local p2
    invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    #calls: Lde/dealdoktor/app/activities/Settings;->setNightSleepPreferencesStatus(Z)V
    invoke-static {v1, v2}, Lde/dealdoktor/app/activities/Settings;->access$1(Lde/dealdoktor/app/activities/Settings;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 74
    :goto_0
    const/4 v1, 0x1

    return v1

    .line 71
    :catch_0
    move-exception v0

    .line 72
    .local v0, e:Ljava/lang/Exception;
    const-string v1, "exception"

    const-string v2, "Settings onPreferenceChange"

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0
.end method
